how to square a three digit number faster